Utility.getOverallScaleXY Method

Gets the scale including all parent canvas scaling for a given canvas, in cases where it is a subcanvas.
 

Parameters

canvasService

Type: CanvasService

Return Value


Type: Object
A plain object with properties:
     x       [type: Number]  -The overall horizontal scaling, relative to 1.
     y       [type: Number]  -The overall vertical scaling, relative to 1.